package com.util;

import java.util.regex.Pattern;

public class DataUtil {
	/** 判断是否是数字 **/
	public static boolean isNumeric(String str) {
		if (str == null)
			return false;
		Pattern pattern = Pattern.compile("[0-9]*");
		return pattern.matcher(str).matches();
	}
}
